package logic

import (
	"context"

	"user_srv/internal/svc"
	"user_srv/user"

	"github.com/zeromicro/go-zero/core/logx"
)

type UpdateLoginCountLogic struct {
	ctx    context.Context
	svcCtx *svc.ServiceContext
	logx.Logger
}

func NewUpdateLoginCountLogic(ctx context.Context, svcCtx *svc.ServiceContext) *UpdateLoginCountLogic {
	return &UpdateLoginCountLogic{
		ctx:    ctx,
		svcCtx: svcCtx,
		Logger: logx.WithContext(ctx),
	}
}

func (l *UpdateLoginCountLogic) UpdateLoginCount(in *user.UpdateLoginCountRequest) (*user.UpdateLoginCountResponse, error) {
	// todo: add your logic here and delete this line

	return &user.UpdateLoginCountResponse{}, nil
}
